<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body {
            font: 14px/1.5 微软雅黑;
        }
        .step {
            margin: 30px 20px;
            height: 43px;
            padding-right: 20px;
            position: relative;
            z-index: 0;
            list-style-type:none
        }
        .step li {
            float: left;
            position: relative;
            z-index: 3;
            /*-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.12);*/
            /*-moz-box-shadow: 0 1px 1px rgba(0,0,0,0.12);*/
            /*box-shadow: 0 1px 1px rgba(0,0,0,0.12);*/
            width: 160px;
        }
        .step li:first-child {
            -webkit-border-radius: 5px 0 0 5px;
            -moz-border-radius: 5px 0 0 5px;
            border-radius: 5px 0 0 5px;
        }
        .step a {
            width: 100%;
            height: 43px;
            padding: 0 0 0 25px;
            color: #000;
            text-align: center;
            text-shadow: 0 1px 0 #fff;
            line-height: 43px;
            white-space: nowrap;
            border: 1px solid #e5eef8;
            text-decoration: none;
            border-top-color: #dddddd;
            border-right: 0;
            background-color: #fbfbfb;
            background-image: -webkit-gradient(linear, left top, left bottom, from(#f7fcff), to(#f7fcff));
            background-image: -webkit-linear-gradient(top, #f7fcff, #f7fcff);
            background-image: -moz-linear-gradient(top, #f7fcff, #f7fcff);
            background-image: -o-linear-gradient(top, #f7fcff, #f7fcff);
            background-image: -ms-linear-gradient(top, #f7fcff, #f7fcff);
            background-image: linear-gradient(top, #f7fcff, #f7fcff);
            float: left;
            position: relative;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
        }
        .step li:last-child a{
            border-right: 1px solid #e5eef8;
        }
        .step li:not(:last-child) a:before {
            content: "";
            width: 29px;
            height: 29px;
            border-right: 1px solid #e5eef8;
            border-bottom: 1px solid #e5eef8;
            background-image: -webkit-gradient(linear, right top, left bottom, from(#f7fcff), to(#f7fcff));
            background-image: -webkit-linear-gradient(right top, #f7fcff, #f7fcff);
            background-image: -moz-linear-gradient(right top, #f7fcff, #f7fcff);
            background-image: -o-linear-gradient(right top, #f7fcff, #f7fcff);
            background-image: -ms-linear-gradient(right top, #f7fcff, #f7fcff);
            background-image: linear-gradient(right top, #f7fcff, #f7fcff);
            display: block;
            position: absolute;
            top: 6px;
            right: -16px;
            z-index: -1;
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            transform: rotate(-45deg);
        }
        .step li:nth-child(2) { z-index: 2; }
        .step li:nth-child(3) { z-index: 1; }
        .step li:nth-child(4) { z-index: 0; }
        .step li:hover{
            background: red;
        }

        .step a:hover {
            color: #fff;
            background-color: #f5f5f5;
            background-image: -webkit-gradient(linear, left top, left bottom, from(#3880eb), to(#3880eb));
            background-image: -webkit-linear-gradient(top, #3880eb, #3880eb);
            background-image: -moz-linear-gradient(top, #3880eb, #3880eb);
            background-image: -o-linear-gradient(top, #3880eb, #3880eb);
            background-image: -ms-linear-gradient(top, #3880eb,#3880eb);
            background-image: linear-gradient(top, #3880eb, #3880eb);
        }
        .step li:not(:last-child) a:hover:before {
            background-image: -webkit-gradient(linear, right top, left bottom, from(#3880eb), to(#3880eb));
            background-image: -webkit-linear-gradient(right top, #3880eb, #3880eb);
            background-image: -moz-linear-gradient(right top, #3880eb, #3880eb);
            background-image: -o-linear-gradient(right top, #3880eb, #3880eb);
            background-image: -ms-linear-gradient(right top, #3880eb, #3880eb);
            background-image: linear-gradient(right top, #3880eb, #3880eb);
        }
    </style>
</head>
<body>
<ul class="step">
    <li><a href="" title="">Step 1</a></li>
    <li><a href="" title="">Step 2</a></li>
    <li><a href="" title="">Step 3</a></li>
    <li><a href="" title="">Step 4</a></li>
</ul>
</body>
</html>